package com.itc.client;


import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * Created by lorne on 2017/6/27.
 */
@FeignClient(value = "client-server",fallback = Demo2ClientHystric.class)
public interface Demo2Client {



    @RequestMapping(value = "/client/save",method = RequestMethod.GET)
    String  save();
}
